package com.ruoyi.ombanner.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * banner管理对象 om_banner
 * 
 * @author ruoyi
 * @date 2025-02-24
 */
public class OmBanner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** banner编号 */
    private Long bannerId;

    /** banner名称 */
    @Excel(name = "banner名称")
    private String bannerName;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String bannerImage;

    /** 创建时间 */
    private Date bannerCreatetime;

    /** 更新时间 */
    private Date bannerUpdatetime;

    /** 跳转小程序 */
    @Excel(name = "跳转小程序")
    private String bannerLinkpage;

    /** 跳转外网 */
    private String bannerLinkout;

    /** 启用禁用 */
    @Excel(name = "启用禁用")
    private Integer bannerStatus;

    /** 排序 */
    @Excel(name = "排序")
    private Integer bannerNsort;

    public void setBannerId(Long bannerId) 
    {
        this.bannerId = bannerId;
    }

    public Long getBannerId() 
    {
        return bannerId;
    }
    public void setBannerName(String bannerName) 
    {
        this.bannerName = bannerName;
    }

    public String getBannerName() 
    {
        return bannerName;
    }
    public void setBannerImage(String bannerImage) 
    {
        this.bannerImage = bannerImage;
    }

    public String getBannerImage() 
    {
        return bannerImage;
    }
    public void setBannerCreatetime(Date bannerCreatetime) 
    {
        this.bannerCreatetime = bannerCreatetime;
    }

    public Date getBannerCreatetime() 
    {
        return bannerCreatetime;
    }
    public void setBannerUpdatetime(Date bannerUpdatetime) 
    {
        this.bannerUpdatetime = bannerUpdatetime;
    }

    public Date getBannerUpdatetime() 
    {
        return bannerUpdatetime;
    }
    public void setBannerLinkpage(String bannerLinkpage) 
    {
        this.bannerLinkpage = bannerLinkpage;
    }

    public String getBannerLinkpage() 
    {
        return bannerLinkpage;
    }
    public void setBannerLinkout(String bannerLinkout) 
    {
        this.bannerLinkout = bannerLinkout;
    }

    public String getBannerLinkout() 
    {
        return bannerLinkout;
    }
    public void setBannerStatus(Integer bannerStatus) 
    {
        this.bannerStatus = bannerStatus;
    }

    public Integer getBannerStatus() 
    {
        return bannerStatus;
    }
    public void setBannerNsort(Integer bannerNsort) 
    {
        this.bannerNsort = bannerNsort;
    }

    public Integer getBannerNsort() 
    {
        return bannerNsort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bannerId", getBannerId())
            .append("bannerName", getBannerName())
            .append("bannerImage", getBannerImage())
            .append("bannerCreatetime", getBannerCreatetime())
            .append("bannerUpdatetime", getBannerUpdatetime())
            .append("bannerLinkpage", getBannerLinkpage())
            .append("bannerLinkout", getBannerLinkout())
            .append("bannerStatus", getBannerStatus())
            .append("bannerNsort", getBannerNsort())
            .toString();
    }
}
